package com.crl.module.rpc.remoting
{
	public class RemotingVO{
		public var gateway:String;
		public var service:String;
		public function RemotingVO(){
			
		}
		
		public function bindXML(xml:XML):RemotingVO{
			var list:XMLList=xml.children();
			var name:String;
			
			var value:String;
			for each(var item:XML in list){
				name=item.@name;
				if(name in this){
					value=item.@value;
					this[name]=value;
				}
			}
			return this;
		}
	}
}